import request from '@/utils/request'

export default {
  // 详情
  detail(params) {
    return request({
      url: `/v1/purchase-demand/intelligent-stock/get-basic-rule`,
      method: 'get',
      params
    })
  },
  // 保存
  save(data) {
    return request({
      url: `/v1/purchase-demand/intelligent-stock/basic-rule`,
      method: 'post',
      data
    })
  },
}
